fw_env: fix type of len
authorMike Frysinger <[email protected]>
Sat, 10 Nov 2012 19:47:45 +0000 (19:47 +0000)
committerTom Rini <[email protected]>
Wed, 19 Dec 2012 22:51:57 +0000 (15:51 -0700)
commit3779c8e319bd5e3fb32c3036cc0d3a658f920fa3
tree6254f25e96702cce568de09cdc2ee8a04b913d09
parent4823b45da2b5d434b1009f8b511a8fc846c7a252
fw_env: fix type of len

This variable is assigned by a size_t, and is printed that way, but is
incorrectly declared as an int.  Which means we get warnings:
fw_env.c: In function 'fw_setenv':
fw_env.c:409:5: warning: format '%zu' expects argument of type 'size_t',
but argument 3 has type 'int' [-Wformat]

Signed-off-by: Mike Frysinger <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
tools/env/fw_env.c